#!/bin/sh
# rsync code from mac to linux.
work_path=$(dirname $0)
cd $work_path



src=.
dst=root@192.168.1.128:~/linux-5.10.100/linuxkernel/test_net/
echo "$src --> $dst"

rsync -ravz --exclude=".git/" \
    --exclude=".vscode/" \
    --include="*.c" \
    --include="Makefile" \
    --include="*.mk" \
    --include="*.md" \
    --include="*.h" \
    --include="*/" \
    --exclude="*" \
    $src $dst
